package com.glodon.paas.document.api.bean;

import java.util.Date;
import java.util.List;

import com.glodon.paas.account.api.bean.User;

public class Project {

    private String  id;
    private String  name;
    private String  ownerId;
    private boolean isDeleted;
    private Date    createTime;
    private Date    updateTime;
    private String  extension;
    private String  folderId;
    private String  description;
//    private Integer count;
//    private boolean hasFolder;
    private User    owner;
//    private List<File> files;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public boolean isDelete() {
        return isDeleted;
    }

    public void setDelete(boolean isDelete) {
        this.isDeleted = isDelete;
    }

    public String getFolderId() {
        return folderId;
    }

    public void setFolderId(String folderId) {
        this.folderId = folderId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

//    public Integer getCount() {
//        return count;
//    }

//    public void setCount(Integer count) {
//        this.count = count;
//    }

    public User getOwner() {
        return owner;
    }

    public void setOwner(User owner) {
        this.owner = owner;
    }
    
//    public int getCount(){
//        return files == null ? 0 : files.size();
//    }
//    
//    public boolean isHasFolder() {
//        if(files != null){
//            for(File file : files){
//                if(file.isFolder()){
//                    return true;
//                }
//            }
//        }
//        return false;
//    }

    
//    public List<File> getFiles() {
//        return files;
//    }
//
//    
//    public void setFiles(List<File> files) {
//        this.files = files;
//    }

    
//    public boolean isHasFolder() {
//        return hasFolder;
//    }
//
//    
//    public void setHasFolder(boolean hasFolder) {
//        this.hasFolder = hasFolder;
//    }

}
